<?php 
namespace Home\Model;
use Think\Model;

class UserModel extends Model{
	public $_validate = array(
		array('username','3,9','名字短了','1','length','3'),
		array('email','email','邮箱格式不对','1','','3'),
		array('password','6,18','密码不对','1','length','3'),
		array('repwd','password','两次密码不一致','1','confirm','3'),
		array('username','','用户名重复','1','unique',3),
		);
}

?>